﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ApplicationSettingsDateTime;

class AppDateTime
{
    static void Main()
    {
        if (!ApplicationSettings.Default.Date.Equals(string.Empty))
        {
            Console.WriteLine(ApplicationSettings.Default.Date);
        }
        else
        {
            Console.WriteLine("First time runned no DateTime saved.");
        }
        ApplicationSettings.Default.Date = DateTime.Now.ToString();
        ApplicationSettings.Default.Save();
    }
}

